package com.guodu.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "Units")
public class Units implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long unitsId;
	private String unitsName;
	private String industry;
	private Long funitsId;
	private Long unitsLevel;
	private String province;
	private String city;
	private String address;
	private String manager;
	private String phone;
	private Long createProsion;
	private Date createTime;
	private Long isComplete;
	private String unitsNo;
	private Long status;
		
	private BigDecimal capacityRl;
	private String capacityDw;
	private String capacityGc;

	

	// Property accessors
	@Id
	@Column(name = "units_id", unique = true, nullable = false, precision = 20, scale = 0)
	public Long getUnitsId() {
		return this.unitsId;
	}

	public void setUnitsId(Long unitsId) {
		this.unitsId = unitsId;
	}

	@Column(name = "units_name", nullable = false)
	public String getUnitsName() {
		return this.unitsName;
	}

	public void setUnitsName(String unitsName) {
		this.unitsName = unitsName;
	}
	
	@Column(name = "industry")
	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	@Column(name = "FUNITS_ID")
	public Long getFunitsId() {
		return funitsId;
	}

	public void setFunitsId(Long funitsId) {
		this.funitsId = funitsId;
	}

	@Column(name = "units_level")
	public Long getUnitsLevel() {
		return this.unitsLevel;
	}

	public void setUnitsLevel(Long unitsLevel) {
		this.unitsLevel = unitsLevel;
	}
	@Column(name = "province")
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "city")
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "address")
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "manager")
	public String getManager() {
		return this.manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	@Column(name = "phone")
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "create_prosion")
	public Long getCreateProsion() {
		return this.createProsion;
	}

	public void setCreateProsion(Long createProsion) {
		this.createProsion = createProsion;
	}

	
	@Column(name = "create_time")
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name="IS_COMPLETE")
	public Long getIsComplete() {
		return isComplete;
	}

	public void setIsComplete(Long isComplete) {
		this.isComplete = isComplete;
	}
	
	@Column(name = "UNITS_NO")
	public String getUnitsNo() {
		return unitsNo;
	}

	public void setUnitsNo(String unitsNo) {
		this.unitsNo = unitsNo;
	}
	
	@Column(name = "STATUS")
	public Long getStatus() {
		return status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}
	
	@Column(name = "CAPACITY_RL")
	public BigDecimal getCapacityRl() {
		return capacityRl;
	}

	public void setCapacityRl(BigDecimal capacityRl) {
		this.capacityRl = capacityRl;
	}	
	@Column(name = "CAPACITY_DW")
	public String getCapacityDw() {
		return capacityDw;
	}

	public void setCapacityDw(String capacityDw) {
		this.capacityDw = capacityDw;
	}

	@Column(name = "CAPACITY_GC")
	public String getCapacityGc() {
		return capacityGc;
	}
	public void setCapacityGc(String capacityGc) {
		this.capacityGc = capacityGc;
	}
	
	
	
	
	

}
